package service.custom;

import java.util.List;

import model.company.*;

public interface CustomServiceDo {
	void otherloanSave(Companyotherloan  cotherloan);
	void pledgerSave(Companypledger companypledger);
	void foreigninvestorSave(Companyforeigninvestment cforeigninvestor);
	void topmanagerSave(Companytopmanager ctopmanager);
	void manageSave(Companymanage cmanage);
	void givingcreditSave(Companygivingcredit cgivingcredit);
	void guarantorSave(Companyguarantor cguarantor);
	void investorSave(Companyinvestor cinvestor);
	void listingSave(Companylisting clisting);
	void prosecutedSave(Companyprosecuted cprosecuted);
	void contactSave(Companycontact ccontact);
	void externalguaranteeSave(Companyexternalguarantee cexternalguarantee);
	void bankcreditSave(Companybankcredit cbankcredit);
	void assetsdebtSave(Companyassetsdebt cassetsdebt);
	void cashflowSave(Companycashflow ccf);
	void profitSave(Companyprofit cprofit);
	void fileSave(Companyfile cfile);
	
	
	String companySave(Companybasic cbasic);
	String companyUpdate(Companybasic cbasic);
	
	

	List<?> fileList(int id);
	List<?> otherloanList(int id);
	List<?> topmanagerList(int id);
	List<?> prosecutedList(int id);
	List<?> listingList(int id);
	List<?> investorList(int id);
	List<?> guarantorList(int id);
	List<?> foreigninvestorList(int id);
	List<?> pledgerList(int id,int type);
	List<?> givingcreditList(int id);
	List<?> externalguaranteeList(int id);
	List<?> contactList(int id);
	List<?> bankcreditList(int id);
	List<?> manageList(int id);
	List<?> assetsdebtList(int id);
	List<?> cashflowList(int id);
	List<?> profitList(int id);
	
	List<?> companyList();
	List<?> personalList();
	
	
	Companyfile fileFindByType(int cid,int type);
	Companyfile fileShow(int id);
	Companyotherloan otherloanShow(int id);
	Companybankcredit bankcreditShow(int id);
	Companyexternalguarantee externalguaranteeShow(int id);
	Companypledger pledgerShow(int id);
	Companyforeigninvestment foreigninvestorShow(int id);
	Companygivingcredit givingcreditShow(int id);
	Companyguarantor guarantorShow(int id);
	Companyinvestor investorShow(int id);
	Companylisting listingShow(int id);
	Companyprosecuted prosecutedShow(int id);
	Companytopmanager topmanagerShow(int id);
	Companybasic companyShow(int id);
	Companycontact contactShow(int id);
	Companymanage manageShow(int id);
	Companyassetsdebt assetsdebtShow(int id);
	Companycashflow cashflowShow(int id);
	Companyprofit profitShow(int id);
	
	void fileDelete(Companyfile cfile);
	void otherloanDelete(Companyotherloan cotherloan);
	void bankcreditDelete(Companybankcredit cbankcredit);
	void companyDelete(Companybasic cbasic);
	void contactDelete(Companycontact ccontact);
	void topmanagerDelete(Companytopmanager ctopmanager);
	void prosecutedDelete(Companyprosecuted cprosecuted);
	void investorDelete(Companyinvestor cinvestor);
	void foreigninvestorDelete(Companyforeigninvestment cforeigninvestor);
	void externalguaranteeDelete(Companyexternalguarantee cexternalguarantee);
	void pledgerDelete(Companypledger companypledger);
	void manageDelete(Companymanage cmanage);
	void assetsdebtDelete(Companyassetsdebt cassetsdebt);
	void cashflowDelete(Companycashflow ccashflow);
	void profitDelete(Companyprofit cprofit);
}
